package com.service;

import java.util.List;

import com.entity.Device;

public interface DeviceService {
	
	public boolean editDeviceStatus(int deviceID,int optype);
	
	public List<Device> findDeviceByNorm(String deviceType,String deviceNorm);
	
	public List<Device> findDeviceByTypeAndNorm(String deviceType,String deviceNorm);
	
	public List<Device> findDeviceByUnit(String unitNo,String substationNo);
	
	public List<Device> findAllDevice();
	
	public List<Device> findAuditingDevice();
	
	public boolean addDevice(Device device);
	
	public boolean checkDeviceNoAvailable(String deviceNo);
	
	public List<Device> findDeviceNotInUnitInterval();
	
	public List<Device> findDeviceBySubstation(String substationNo);
	
	public List<Device> findDeviceBySubstationNotInUnitInterval(String substationNo);
	
	public Device findDeviceByNo(String deviceNo);
	
	public List<Device> deviceDetails(String unitNo,String substationNo);
	
	public void deleteDevice(int deviceId);
}
